package com.shcowin.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.shcowin.entity.Contact;

public interface ContactDao {

	public boolean add(Contact entity) throws DataAccessException;

	public Contact getById(Integer id) throws DataAccessException;

	public List<Contact> getAll() throws DataAccessException;

	public void del(int id) throws DataAccessException;

	public boolean edit(Contact entity) throws DataAccessException;

}
